package cn.itsource.org.mapper;

import cn.itsource.org.domain.User;
import cn.itsource.org.query.UserQuery;

import java.util.List;

/**
* @author DELL
* @description 针对表【tb_user(用户信息表)】的数据库操作Mapper
* @createDate 2024-06-01 20:04:24
* @Entity cn.itsource.org.domain.User
*/
public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    List<User> selectAllByQuery(UserQuery userQuery);

    void deleteByConllection(List<User> users);

    User getByName(String name);
}
